package me.shiqiang.im.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author cuishiqiang
 * @date 2018/1/10 下午5:01
 */
@FeignClient(name = "im-http-service")
@RequestMapping("im/server")
public interface ServerNodeClient {


    @PutMapping("register/{serverId}")
    public void register(@PathVariable("serverId") String serverId, String hostInfo);
}
